package com.abss.vote.mapper;

import com.abss.vote.model.MpInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface MpInFoMapper {
    MpInfo getMpInFo(String serverId);

    String getLastMpInFo();

    int ExistMpinfo(MpInfo mpInfo);

    void UpdateMpinfo(MpInfo mpInfo);


    void InsertMpinfo(MpInfo mpInfo);

    String getServerId(@Param("activity_id")Integer activity_id);
}
